package com.xwdeshj.repository;

import com.xwdeshj.entity.XwFarmDiscussinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2019/1/6.
 * 农家乐——农家评论信息
 */
public interface XwFarmDiscussinfoRepository extends JpaRepository<XwFarmDiscussinfo,Integer> {

    //根据农家乐加密id，删除对应的记录
    public void deleteByFarmEncryptid(String farm_encryptId);

    //根据评论id，删除对应的记录信息
    public void deleteByFarmDiscusId(Integer farm_discus_id);

}
